import Vue from 'vue'
import Vuex from 'vuex'

import Login from './modules/login'
import One from './modules/one'


Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    login: {
      namespaced: true,
      ...Login
    },
    one: {
      namespaced: true,
      ...One
    }
  }
})

export default store
